package com.vegetable.modules.entity.outbound.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * <p>
 * 客户采购习惯分析VO
 * </p>
 *
 * @author Qwen
 * @since 2025-10-08
 */
@Data
@ApiModel(value = "CustomerPurchaseAnalysisVO对象", description = "客户采购习惯分析VO")
public class CustomerPurchaseAnalysisVO {

    @ApiModelProperty(value = "客户ID")
    private Long customerId;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "商品ID")
    private Long commodityId;

    @ApiModelProperty(value = "商品名称")
    private String commodityName;

    @ApiModelProperty(value = "商品编码")
    private String commodityCode;

    @ApiModelProperty(value = "商品分类ID")
    private Long categoryId;

    @ApiModelProperty(value = "商品分类名称")
    private String categoryName;

    @ApiModelProperty(value = "规格ID")
    private Long specsId;

    @ApiModelProperty(value = "规格名称")
    private String specsName;

    @ApiModelProperty(value = "采购次数")
    private Integer purchaseCount;

    @ApiModelProperty(value = "总采购数量")
    private Integer totalNumber;

    @ApiModelProperty(value = "总采购重量")
    private BigDecimal totalWeight;

    @ApiModelProperty(value = "平均采购数量")
    private BigDecimal avgNumber;

    @ApiModelProperty(value = "平均采购重量")
    private BigDecimal avgWeight;

    @ApiModelProperty(value = "最后采购时间")
    private String lastPurchaseTime;
}